package vue;
import javax.swing.*;
import vue.util.*;

public class Fenetre extends JFrame
{
	private ListeOnglets listeOnglets;	
	
	public Fenetre()
	{
		super("Simplexe");
		
		listeOnglets = new ListeOnglets();
		
		this.add(listeOnglets);
		this.setIconImage(Util.createImage("img/logo-simplexe.png"));
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setJMenuBar(new BarreMenu(listeOnglets));
		this.setSize(800,710);
		this.setLocationRelativeTo(this.getParent());
		this.setVisible(true);			
	}	
}
